//*********************************************************************
//  FoodAnalyzer.java   Java  Foundations
//
//  Demonstatres indirect access to inherited private members.
//*********************************************************************

public class FoodAnalyzer
{
   //---------------------------------------------------------------
   //  Instantaties a Pizza objict and prints its calories per
   //  serving.
   //---------------------------------------------------------------
   public  static void main (String[] args)
   {
        Pizza special = new Pizza (275);

        System.out.println ("Calories per serving; " +
                              special.caloriesPerServing());
   }
}
